package org.jeecg.modules.monitoring.j_monitoring.mapper;
import java.util.Collection;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.monitoring.j_monitoring.entity.EquipmentData;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * @Description: 设备列表表
 * @Author: xiaoyq
 * @Date:   2023-04-12
 * @Version: V1.0
 */
public interface EquipmentDataMapper extends BaseMapper<EquipmentData> {

    /**
     * 获得ids
     * @return
     */
    List<String> selectIds();

    /**
     * 插入设备
     * @param equipmentData
     * @return
     */
    int insertIgnore(EquipmentData equipmentData);

    /**
     * 根据编码获得设备信息
     * @param code
     * @return
     */
    List<EquipmentData> selectByCode(@Param("code") String code);
}
